﻿namespace Jim.OA;

[Sdk("/ssologin/getToken","单点登录")]
public class OAGetSsoTokenInput : ISdkRequest<OAGetSsoTokenOutput>,ISdkCustomDic, IOASSO
{
    /// <summary>
    /// 单点登录引用Id
    /// </summary>
    public string AppKey { get; set; }
    /// <summary>
    /// 登录手机号码
    /// </summary>
    public string LoginId { get; set; }
    public string RedirectUrl { get; set; }
    public SdkDictionary Dic()
    {
        return new SdkDictionary
        {
            { "appid", AppKey },
            { "loginid",LoginId },
            { "redirectUrl",RedirectUrl },
        };
    }
}

public class OAGetSsoTokenOutput : SdkResponse<string>
{
}